﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVCToolkit.Validations
{
    [Serializable]
    public class ValidationResult
    {
        public ValidationResult(string propertyName, string message)
        {
            this.PropertyName = propertyName;
            this.Message = message;
        }

        public string PropertyName { get; protected set; }
        public string Message { get; protected set; }
    }
}
